
import App from './App'
import uvUI from '@/uni_modules/uv-ui-tools'
import plugins from './plugins' // plugins

// #ifdef VUE3
import { createSSRApp } from 'vue'
import * as Pinia from 'pinia';



export function createApp() {
	const app = createSSRApp(App)
	app.use(Pinia.createPinia())
	app.use(uvUI)
	app.use(plugins)
	return {
		app,
		Pinia, // 此处必须将 Pinia 返回
	}
}
// #endif